package top.xxyu.app.admin.controller;

import org.apache.shiro.authc.UsernamePasswordToken;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class Index {
	@RequestMapping(value = {"/index", "/"})
	public String index(){
		UsernamePasswordToken usernamePasswordToken = new UsernamePasswordToken();
		String username = usernamePasswordToken.getUsername();
		System.out.println(username);
		return "mobile/admin/index";
	}
}
